package com.liuhan.house.pojo;

import java.util.Date;

public class User {
    /** 主键 */
    private Integer userId;

    /** 姓名 */
    private String userName;

    /** 手机号 */
    private String userPhone;

    /** 电子邮件 */
    private String userEmail;

    /** 自我介绍 */
    private String userAboutMe;

    /** 密码MD5加密 */
    private String userPassword;

    /** 头像图片 */
    private String userHeadImg;

    /** 1-普通用户  2-房产经纪人 */
    private Integer userType;

    /** 0-未激活     1-已经激活 */
    private Integer userStatus;

    /** 所属经纪机构 */
    private Integer agencyCode;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public User(Integer userId, String userName, String userPhone, String userEmail, String userAboutMe, String userPassword, String userHeadImg, Integer userType, Integer userStatus, Integer agencyCode, Date createTime, Date updateTime) {
        this.userId = userId;
        this.userName = userName;
        this.userPhone = userPhone;
        this.userEmail = userEmail;
        this.userAboutMe = userAboutMe;
        this.userPassword = userPassword;
        this.userHeadImg = userHeadImg;
        this.userType = userType;
        this.userStatus = userStatus;
        this.agencyCode = agencyCode;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public User() {
        super();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone == null ? null : userPhone.trim();
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail == null ? null : userEmail.trim();
    }

    public String getUserAboutMe() {
        return userAboutMe;
    }

    public void setUserAboutMe(String userAboutMe) {
        this.userAboutMe = userAboutMe == null ? null : userAboutMe.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public String getUserHeadImg() {
        return userHeadImg;
    }

    public void setUserHeadImg(String userHeadImg) {
        this.userHeadImg = userHeadImg == null ? null : userHeadImg.trim();
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    public Integer getAgencyCode() {
        return agencyCode;
    }

    public void setAgencyCode(Integer agencyCode) {
        this.agencyCode = agencyCode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}